'''
CODEBOOK: df_afc_standings_mast
W -- Games Won
L -- Games Lost
W-L% -- Win-Loss Percentage of team
For coaches, minimum to qualify for leading is 50 games.
After 1972, ties are counted as half-wins and half-losses.
Prior, the league didn\'t count them as games in W-L% calculations.
PF -- Points Scored by team
PA -- Points Scored by opposition
PD -- Points Differential
Points Scored - Points Allowed
MoV -- Margin of Victory
(Points Scored - Points Allowed)/ Games Played
SoS -- Strength of Schedule
Average quality of opponent as measured by SRS (Simple Rating System)
SRS -- Simple Rating System
Team quality relative to average (0.0) as measured by SRS (Simple Rating System)
SRS = MoV + SoS = OSRS + DSRS
The difference in SRS can be considered a point spread (add about 2 pt for HFA)
OSRS -- Offensive SRS
Team offense quality relative to average (0.0) as measured by SRS (Simple Rating System)
DSRS -- Defensive SRS
Team defense quality relative to average (0.0) as measured by SRS (Simple Rating System)

CODEBOOK: df_nfc_standings_mast
W -- Games Won
L -- Games Lost
W-L% -- Win-Loss Percentage of team
For coaches, minimum to qualify for leading is 50 games.
After 1972, ties are counted as half-wins and half-losses.
Prior, the league didn\'t count them as games in W-L% calculations.
PF -- Points Scored by team
PA -- Points Scored by opposition
PD -- Points Differential
Points Scored - Points Allowed
MoV -- Margin of Victory
(Points Scored - Points Allowed)/ Games Played
SoS -- Strength of Schedule
Average quality of opponent as measured by SRS (Simple Rating System)
SRS -- Simple Rating System
Team quality relative to average (0.0) as measured by SRS (Simple Rating System)
SRS = MoV + SoS = OSRS + DSRS
The difference in SRS can be considered a point spread (add about 2 pt for HFA)
OSRS -- Offensive SRS
Team offense quality relative to average (0.0) as measured by SRS (Simple Rating System)
DSRS -- Defensive SRS
Team defense quality relative to average (0.0) as measured by SRS (Simple Rating System)

CODEBOOK: df_playoff_results_mast
Week -- Week number in season
PtsW -- Points Scored by the winning team (first one listed)
PtsL -- Points Scored by the losing team (second one listed)

CODEBOOK: df_team_stats_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
Points
PF -- Points Scored by team
Tot Yds & TO
Ply -- Offensive Plays: Pass Attempts + Rush Attempts + Times Sacked
Y/P -- Yards per Offensive Play
(Rush + Pass Yards)/( Pass Attempts + Rush Attempts + Times Sacked)
TO -- Team Turnovers Lost
Fumbles
FL -- Fumbles Lost by Team
First Downs
Passing
Cmp -- Passes completed
Att -- Passes attempted
Yds -- Yards Gained by Passing
For teams, sack yardage is deducted from this total
TD -- Passing Touchdowns
Int -- Interceptions thrown
NY/A -- Net Yards gained per pass attempt
(Passing Yards - Sack Yards) / (Passes Attempted + Times Sacked)
Minimum 14 attempts per schedule game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
1stD -- First Downs by Passing
Rushing
Att -- Rushing Attempts (sacks not included in NFL)
Yds -- Rushing Yards Gained (sack yardage is not included by NFL)
TD -- Rushing Touchdowns
Y/A -- Rushing Yards per Attempt
Minimum 6.25 rushes per game scheduled to qualify as leader.
Minimum 750 rushes to qualify as career leader.
1stD -- First Downs by Rushing
Penalties
Pen -- Penalties committed by team and accepted
Yds -- Penalties in yards committed by team
1stPy -- First Downs by Penalty
Sc% -- Percentage of drives ending in an offensive score
TO% -- Percentage of drives ending in an offensive turnover
Expected Points
EXP -- Expected points contributed by all offense

CODEBOOK: df_passing_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
Cmp -- Passes completed
Att -- Passes attempted
Cmp% -- Percentage of Passes Completed
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
Yds -- Yards Gained by Passing
For teams, sack yardage is deducted from this total
TD -- Passing Touchdowns
TD% -- Percentage of Touchdowns Thrown when Attempting to Pass
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader
Int -- Interceptions thrown
Int% -- Percentage of Times Intercepted when Attempting to Pass
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
Lng -- Longest Completed Pass Thrown (complete since 1975)
Y/A -- Yards gained per pass attempt
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
AY/A -- Adjusted Yards gained per pass attempt
(Passing Yards + 20 * Passing TD - 45 * Interceptions) / (Passes Attempted)
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
Y/C -- Yards gained per pass completion (Passing Yards) / (Passes Completed)
Minimum 14 pass attempts per schedule game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader
Y/G -- Yards gained per game played
Minimum half a game played per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader
Rate -- Quarterback Rating, see glossary for details
Different ratings are used by the NFL and NCAA.
Minimum 1500 pass attempts to qualify as career leader, minimum 150 pass attempts for playoffs leader.
Sk -- Times Sacked (first recorded in 1969, player per game since 1981)
Yds -- Yards lost due to sacks (first recorded in 1969, player per game since 1981)
NY/A -- Net Yards gained per pass attempt
(Passing Yards - Sack Yards) / (Passes Attempted + Times Sacked)
Minimum 14 attempts per schedule game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
ANY/A -- Adjusted Net Yards per Pass Attempt
(Passing Yards - Sack Yards + (20 * Passing TD) - (45 * Interceptions)) / (Passes Attempted + Times Sacked)
Minimum 14 attempts per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader.
Sk% -- Percentage of Time Sacked when Attempting to Pass: Times Sacked / (Passes Attempted + Times Sacked)
Minimum 14 attempts + sacks per scheduled game to qualify as leader.
Minimum 1500 pass attempts to qualify as career leader
4QC -- Comebacks led by quarterback.
Must be an offensive scoring drive in the 4th quarter, with the team trailing by one score, though not necessarily a drive to take the lead. Only games ending in a win or tie are included.
GWD -- Game-winning drives led by quarterback.
Must be an offensive scoring drive in the 4th quarter or overtime that puts the winning team ahead for the last time.
EXP -- Expected points contributed by passing offense

CODEBOOK: df_rushing_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
Att -- Rushing Attempts (sacks not included in NFL)
Yds -- Rushing Yards Gained (sack yardage is not included by NFL)
TD -- Rushing Touchdowns
Lng -- Longest Rushing Attempt
Y/A -- Rushing Yards per Attempt
Minimum 6.25 rushes per game scheduled to qualify as leader.
Minimum 750 rushes to qualify as career leader.
Y/G -- Rushing Yards per Game
(minimum half a game per game scheduled to qualify as leader)
(Rushing Yards)/(Games Played)
Fmb -- Number of times fumbled both lost and recovered by own team
These represent ALL fumbles by the player on offense, defense, and special teams.
Available for player games since 1990.
EXP -- Expected points contributed by rushing offense

CODEBOOK: df_returns_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
Punt Returns
Ret -- Punts Returned
Yds -- Punts Return Yardage
TD -- Punts Returned for Touchdown
Lng -- Longest Punt Return
Y/R -- Yards per Punt Return
Minimum one return per game scheduled to qualify as leader.
Minimum 75 punt returns to qualify as career leader.
Kick Returns
Rt -- Kickoff Returns
Yds -- Yardage for Kickoffs Returned
TD -- Kickoffs Returned for a touchdown
Lng -- Longest Kickoff Return
Y/Rt -- Yards per Kickoff Return - Kick Return Yardage/Kickoff Returns
Minimum one return per game scheduled to qualify as leader.
Minimum 75 kick returns to qualify as career leader
Total Yds
APYd -- All-purpose yards: Rushing, Receiving and Kick, Punt, Interception, and Fumble Return Yardage

CODEBOOK: df_kicking_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
0-19
FGA -- Field Goals Attempted, 19 yards and under
FGM -- Field Goals Made, 19 yards and under
20-29
FGA -- Field Goals Attempted, 20-29 yards
FGM -- Field Goals Made, 20-29 yards
30-39
FGA -- Field Goals Attempted, 30-39 yards
FGM -- Field Goals Made, 30-39 yards
40-49
FGA -- Field Goals Attempted, 40-49 yards
FGM -- Field Goals Made, 40-49 yards
50+
FGA -- Field Goals Attempted, 50+ yards
FGM -- Field Goals Made, 50+ yards
Scoring
FGA -- Field Goals Attempted
FGM -- Total Field Goals Made
Lng -- Longest Field Goal Made
FG% -- Percentage of field goals made, 100*(FGM/FGA)
Minimum 0.75 attempts per game scheduled to qualify as a leader.
Minimum 100 FGA to qualify as career leader.
XPA -- Extra Points Attempted
XPM -- Extra Points Made
XP% -- Extra Point Percentage
(Extra Points Made)/(Extra Points Attempted)
Minimum 1.5 attempts per game scheduled to be a leader.
Kickoffs
KO -- Kickoffs
KOYds -- Kickoff Yards
TB -- Kickoff touchbacks
TB% -- Percentage of time the kickoff was a touchback
KOAvg -- Kickoff average yardage
Punting
Pnt -- Times Punted
Yds -- Total Punt Yardage
Lng -- Longest Punt
Blck -- Times Punts Blocked
Y/P -- Yards per Punt
Minimum one punt per game scheduled to qualify as leader.
Minimum 250 punts to qualify as career leader.

CODEBOOK: df_team_scoring_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
OthTD -- Other touchdowns from blocked kicks or missed field goals returned
AllTD -- All touchdowns scored
2PM -- Two-Point Conversions Made
2PA -- Two-Point Conversions attempted
XPM -- Extra Points Made
XPA -- Extra Points Attempted
FGM -- Total Field Goals Made
FGA -- Field Goals Attempted
Sfty -- Safeties scored by player/team
Pts -- Total points scored by all means
Pts/G -- Points per game

CODEBOOK: df_team_conversions_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
Downs
3DAtt -- 3rd Down Attempts in game
3DConv -- 3rd Down Conversions in game
3D% -- 3rd Down Conversion Percentage
4DAtt -- 4th Down Attempts in game
4DConv -- 4th Down Conversions in game
4D% -- 4th Down Conversion Percentage
Red Zone
RZAtt -- Red Zone Attempts
RZTD -- Touchdowns scored after the team entered the red zone
RZPct -- Percentage of the time a team reaches the red zone and scores a touchdown

CODEBOOK: df_team_drives_mast
Rk -- Rank
This is a count of the rows from top to bottom.
It is recalculated following the sorting of a column.
G -- Games played
#Dr -- Number of drives
Plays -- Number of plays in drive.
P - Pass, R - Rush, Y - Penalty
Sc% -- Percentage of drives ending in an offensive score
TO% -- Percentage of drives ending in an offensive turnover
Average Drive
Plays -- Average # of plays per Drive
Yds -- Net yards per drive
Start -- Average starting field position
Time -- Average time per drive
Pts -- Average points scored per drive

CODEBOOK: df_conf_mast
Yr -- The year the season started

CODEBOOK: df_div_mast
Yr -- The year the season started
'''